Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-02

oracle.AWXML
Class AttributeProjection

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.Attribute
              |
              +--oracle.AWXML.AttributeProjection

public class AttributeProjection
extends Attribute

Associates an Attribute for a Dimension to a Hierarchy or a Level of the Dimension.


Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

 

Constructor Summary
AttributeProjection(BaseObject input)
          Creates an AttributeProjection for the specified Hierarchy or Level.

 

Method Summary
 java.lang.String Create(AWConnection connection)
          Creates the AttributeProjection in the current analytic workspace of the specified database connection.
 java.lang.String Delete(AWConnection connection)
          Removes the AttributeProjection from the analytic workspace.
 Attribute getAttribute()
          Gets the Attribute that the AttributeProjection associates with a Hierarchy or a Level.
 Hierarchy getHierarchy()
          Gets the Hierarchy that the AttributeProjection associates with the Attribute.
 Level getLevel()
          Gets the Level that the AttributeProjection associates with the Attribute.
 void setAttribute(Attribute input)
          Specifies the Attribute for the AttributeProjection.
 void setHierarchy(Hierarchy input)
          Specifies a Hierarchy that the AttributeProjection associates with an Attribute.
 void setLevel(Level input)
          Specifies a Level that the AttributeProjection associates with an Attribute.
 java.lang.String WriteToXML()
          Gets an XML representation of the AttributeProjection.

 

Methods inherited from class oracle.AWXML.Attribute
Alter, getClassification, getDataType, getDimensionDomain, isDefaultOrder, isMultiLingual, setClassification, setDataType, setDimensionDomain, setIsDefaultOrder, setIsDefaultOrder, setIsMultiLingual, setIsMultiLingual

 

Methods inherited from class oracle.AWXML.BaseObject
CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, getId, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AttributeProjection

public AttributeProjection(BaseObject input)
Creates an AttributeProjection for the specified Hierarchy or Level. Rather than using this constructor, an application should create an AttributeProjection with the createAttributeProjection method of a Hierarchy or a Level. The application should then call the setAttribute method of the AttributeProjection to associate the Attribute with the Hierarchy or Level.
Parameters:
input - The Hierarchy or Level that you want to own the AttributeProjection.

Method Detail

WriteToXML

public java.lang.String WriteToXML()
Gets an XML representation of the AttributeProjection.
Overrides:
WriteToXML in class Attribute
Returns:
An XML String that represents the AttributeProjection.

setAttribute

public void setAttribute(Attribute input)
Specifies the Attribute for the AttributeProjection.
Parameters:
input - The Attribute to associate with the AttributeProjection.

getAttribute

public Attribute getAttribute()
Gets the Attribute that the AttributeProjection associates with a Hierarchy or a Level.
Returns:
The Attribute specified by the AttributeProjection.

setLevel

public void setLevel(Level input)
Specifies a Level that the AttributeProjection associates with an Attribute. You can specify a Level with this method or a Hierarchy with the setHierarchy method.
Parameters:
input - The Level for the AttributeProjection to associate with an Attribute.

getHierarchy

public Hierarchy getHierarchy()
Gets the Hierarchy that the AttributeProjection associates with the Attribute.
Returns:
The Hierarchy that the AttributeProjection associates with the Attribute.

setHierarchy

public void setHierarchy(Hierarchy input)
Specifies a Hierarchy that the AttributeProjection associates with an Attribute. You can specify a Hierarchy with this method or a Level with the setLevel method.
Parameters:
input - The Hierarchy for the AttributeProjection to associate with an Attribute.

getLevel

public Level getLevel()
Gets the Level that the AttributeProjection associates with the Attribute.
Returns:
The Level that the AttributeProjection associates with the Attribute.

Create

public java.lang.String Create(AWConnection connection)
Creates the AttributeProjection in the current analytic workspace of the specified database connection.
Overrides:
Create in class Attribute
Parameters:
connection - The AWConnection that represents the database connection.
Returns:
A String that contains Success if the method creates the AttributeProjection.

Delete

public java.lang.String Delete(AWConnection connection)
Removes the AttributeProjection from the analytic workspace.
Overrides:
Delete in class Attribute
Parameters:
connection - The AWConnection that represents the database connection.
Returns:
A String that contains Success if the method deletes the AttributeProjection.

Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-02

Copyright © 2003, 2005 Oracle. All rights reserved.